package com.schoolai.feign.local.ai;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "local-tts-service")
@Tag(name = "feign接口调用本地cosyvoice2模型", description = "feign接口调用本地cosyvoice2模型")
public interface IFeignPythonService {
    @PostMapping("/tts")
    public String tts(@RequestParam(value = "text", required = false) String text);
}
